package buco.integrity.typehierarchy;

import org.json.simple.JSONObject;

import buco.core.api.SemanticConstraint;

public class IsSubClassOf extends SemanticConstraint {

	private String className; 
	private String baseClass; 

	@Override
	protected void deserialize(JSONObject jsonObject) throws Exception {
		className = jsonObject.get("class").toString(); 
		baseClass = jsonObject.get("baseClass").toString(); 		
	}

	public String getClassName() {
		return className;
	}

	public String getBaseClass() {
		return baseClass;
	}
}
